<?php
/**
 * The Sidebar containing the main widget area
 *
 * @package WordPress
 * @subpackage Twenty_Fourteen
 * @since Twenty Fourteen 1.0
 */
?>
	 <!--第一个栏目-->
	  <div class="modal-content-hack sidebar-0">
		<div class="modal-header mainer-contentus-header ">
		  <h4 class="modal-title">联系我们！</h4>
		</div>
		<div class="modal-body mainer-contentus-body">
		  <p class="glyphicon glyphicon-tower">本站主群：274328087</p>
		  <p class="glyphicon glyphicon-globe">汉化相关：135685734</p>
		  <p class="glyphicon glyphicon-comment">正體中文：201315799</p>
		</div>
		<li class="divider"></li>
		<div class="modal-header mainer-contentus-header ">
		  <h4 class="modal-title">投稿须知</h4>
		</div>
		<div class="modal-body mainer-contentus-body">
		  <p>本站已开放所有注册用户的编辑权限，您可以添加新游戏或修改游戏内容，快来吧！</p>
		  <p class="glyphicon glyphicon-pencil"><a href="http://gamux.org/how_to_edit_book"><strong>投稿注意事项（必看！）</strong></a></p>
		</div>
		<div class="modal-footer mainer-contentus-footer">
		  <button type="button" class="btn btn-default" data-dismiss="modal">GitHub</button>
		  <button type="button" class="btn btn-default">git@osc</button>
		</div>
	  </div>
	  <!--第二个栏目-->
	  <div class="modal-content-hack sidebar-1">
		<div class="modal-header mainer-contentus-header ">
		  <h4 class="modal-title">网站统计</h4>
		</div>
		<div class="modal-body mainer-contentus-body">
		  <p class="glyphicon glyphicon-user">注册用户：<?php $users = $wpdb->get_var("SELECT COUNT(ID) FROM $wpdb->users"); echo $users; ?></p><br />
		  <p class="glyphicon glyphicon-align-justify">游戏数量：<?php echo gamux_get_allfirst_posts(6)+get_category(7)->count; ?></p>
		</div>
	  </div>
	  <!--第三个项目-->
	  <div class="modal-content-hack sidebar-1">
		<div class="modal-header mainer-contentus-header ">
		  <h4 class="modal-title">5.0开发进度</h4>
		</div>
		<div class="modal-body mainer-contentus-body">
		  <p class="glyphicon glyphicon-ok">已完成：wordpress版gamux(4.5)基本完工。</p>
		  <p class="glyphicon glyphicon-pushpin">TODO：Python版gamux(5.0)。</p>
		  <div class="progress progress-striped avtive">
		    <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="3" aria-valuemin="0" aria-valuemax="100" style="width: 30%">
			  <span class="sr-only">30% Complete</span>
		    </div>
		</div>
		</div>
	  </div>
  <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/sidebar.css" type="text/css">
